# -*- coding:utf-8 -*-
# -------------------------------------------------------------------------------
# Description:  
# Reference:
# Author: 安智军
# Date:   2021/12/10
# -------------------------------------------------------------------------------
from selenium.webdriver.common.by import By


class LoginPageLoc:
    # 登录地址
    url_login = "http://47.92.52.18/wms/?#/login"
    # 用户名输入框
    login_username = By.CSS_SELECTOR, "#app > div > div.login-body > div.login-form > form > div:nth-child(1) > div > div > input"
    # 密码输入框
    login_password = By.CSS_SELECTOR, "#app > div > div.login-body > div.login-form > form > div:nth-child(2) > div > div > input"
    # 登录按钮
    login_btn = By.CSS_SELECTOR, "#app > div > div.login-body > div.login-form > form > button"
    # 登录成功的文本信息（用于断言）
    login_success_text = By.XPATH, "//span[contains(text(),'UIte')]"
